﻿<?xml version="1.0" encoding="utf-8"?>
<ArrayOfRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Rule>
    <Url>^trangchu.htm</Url>
    <Rewrite>index.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^Danhmuc(\d*)/(.*)/danhmuc.htm</Url>
    <Rewrite>ViewGroupProduct.aspx?catID=$1</Rewrite>
  </Rule>
  <Rule>
    <Url>(.*)/(\d*)/(.*)/(\d*)/chitietsanpham.htm</Url>
    <Rewrite>ProductDetail.aspx?ID=$2&#38;idcolor=$4</Rewrite>
  </Rule>
  <Rule>
    <Url>(.*)/(\d*)/chitietsanpham.htm</Url>
    <Rewrite>ProductDetail.aspx?ID=$2</Rewrite>
  </Rule>
  
  <Rule>
    <Url>^type/(\d*)/(.*)/(\d*)/boxsanpham.htm</Url>
    <Rewrite>ListBoxProduct.aspx?type=$1&#38;currentPage=$3</Rewrite>
  </Rule>
  <Rule>
    <Url>(.*)/(\d*)/boxsanpham.htm</Url>
    <Rewrite>ListBoxProduct.aspx?type=$2</Rewrite>
  </Rule>
  <Rule>
    <Url>^catID/(\d*)/(.*)/(\d*)/danhsachsanpham.htm</Url>
    <Rewrite>ListProduct.aspx?catID=$1&#38;currentPage=$3</Rewrite>
  </Rule>
  <Rule>
    <Url>(.*)/(\d*)/danhsachsanpham.htm</Url>
    <Rewrite>ListProduct.aspx?catID=$2</Rewrite>
  </Rule>
  <Rule>
    <Url>(.*)/(\d*)/chitiethuongdan.htm</Url>
    <Rewrite>ChiTietHuongDan.aspx?ID=$2</Rewrite>
  </Rule>
  <Rule>
    <Url>(.*)/(\d*)/tintuc.htm</Url>
    <Rewrite>NewsDetail.aspx?ID=$2</Rewrite>
  </Rule>
  <Rule>
    <Url>(.*)/(\d*)/tintuc.htm</Url>
    <Rewrite>ListProduct.aspx?ID=$2</Rewrite>
  </Rule>
  <Rule>
    <Url>^quenmatkhau.htm</Url>
    <Rewrite>ForgetPassword.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^danhsachtin.htm</Url>
    <Rewrite>ListNews.aspx</Rewrite>
  </Rule>
   <Rule>
    <Url>(.*)/(\d*)/danhsachtin.htm</Url>
    <Rewrite>ListNews.aspx?currentPage=$2</Rewrite>
  </Rule>
  <Rule>
    <Url>^thongtincanhan.htm</Url>
    <Rewrite>ViewProfile.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^dangkytaikhoan.htm</Url>
    <Rewrite>Register.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^thaydoimatkhau.htm</Url>
    <Rewrite>ChangePassword.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^giohang.htm</Url>
    <Rewrite>ShoppingCart.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^phuongthucthanhtoan.htm</Url>
    <Rewrite>PaymentMethod.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^thanhcong.htm</Url>
    <Rewrite>Success.aspx</Rewrite>
  </Rule>
 <Rule>
    <Url>^hoadon.htm</Url>
    <Rewrite>SummaryOrder.aspx</Rewrite>
  </Rule>
  <Rule>
    <Url>^Error.htm</Url>
    <Rewrite>Error.aspx</Rewrite>
  </Rule>
    <Rule>
    <Url>^content/(.*)/page/(\d*)/timkiem.htm</Url>
    <Rewrite>ProductSearch.aspx?content=$1&#38;currentPage=$2</Rewrite>
  </Rule>
  <Rule>
    <Url>^content/(.*)/timkiem.htm</Url>
    <Rewrite>ProductSearch.aspx?content=$1</Rewrite>
  </Rule>
   <Rule>
    <Url>^vendorID/(\d*)/page/(\d*)/nhasanxuat.htm</Url>
    <Rewrite>VendorSearch.aspx?vendorID=$1&#38;currentPage=$2</Rewrite>
  </Rule>
   <Rule>
    <Url>^vendorID/(\d*)/nhasanxuat.htm</Url>
    <Rewrite>VendorSearch.aspx?vendorID=$1</Rewrite>
  </Rule>
</ArrayOfRule>